//
//  CoreGraphic.h
//  LGFDemo
//
//  Created by lee on 2018/8/13.
//  Copyright © 2018年 lee. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CoreGraphic : UIView

///在view上绘制几何图形 圆形---根据直径和圆心绘制
-(void)drawACircleWithDiameter:(NSUInteger )diameter Point:(CGPoint)point;
///绘制文字
-(void)drawText:(NSString *)text attributes:(NSDictionary *)attibutes;
///绘制图片在view
-(void)drawImage:(NSString *)image type:(NSString *)type;

@end
